import Layout from '@/pages/public/layout' // 公共部分

const order = [{
  path: '/finance/order/',
  component: Layout,
  children: [{
    path: 'course',
    component: () => import('@/pages/finance/order/course/index.vue'),
    meta: {
      title: '课程订单',
      permission: 'finance.order.video'
    }
  }, {
    path: 'exam',
    component: () => import('@/pages/finance/order/exam/index.vue'),
    meta: {
      title: '题库订单',
      permission: 'finance.order.examination'
    }
  }, {
    path: 'fail',
    component: () => import('@/pages/finance/order/fail.vue'),
    meta: {
      title: '处理失败订单',
      permission: 'finance.order.fail'
    }
  }]
}]

export default order
